/*
 * Copyright 2010. 
 * 
 * This document may not be reproduced, distributed or used 
 * in any manner whatsoever without the expressed written 
 * permission of xrkol Corp. 
 * 
 * $Rev: Rev $
 * $Author: Author $
 * $LastChangedDate: LastChangedDate $
 *
 */

package com.xrkol.sharelib.constants;

import java.io.File;


/**
 * @author peng.xia
 *
 */
public class BaseConstants {
    
    /**
     * 上传文件路径常量
     */
    public static final String BASE_UPLOADFILE = "files";
    public static final String UPLOAD_IMAGE = BASE_UPLOADFILE + File.separator + "images";
    public static final String UPLOAD_SHARE_FILE = BASE_UPLOADFILE + File.separator + "share";
    public static final String TEMP_FILE = BASE_UPLOADFILE + File.separator + "temp";
    public static final String URL_SEPARATOR = "&";

    /**
     * 常用的sessionId
     */
    public static final String APP_CURRENT_USER_ID = "userId";
    
    public static final String WEB_CURRENT_USER_ID = "currentUserId";
    public static final String WEB_SCHOOL_ID = "schoolId";
    public static final String WEB_CURRENT_USER_IS_ADMIN = "isAdmin";
    public static final String WEB_CURRENT_USER_IS_ADVISER = "isAdviser";
    
}
